package com.amigo.online.provider.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.manager.model.entity.MusicTbl;

@Mapper
@Component
public interface MusicTblMapper extends MyMapper<MusicTbl> {


    /**
     * 添加音乐
     *
     * @param musicTbl
     * @return
     */
    Integer saveMusicTbl(MusicTbl musicTbl);


    /**
     * 查询音乐
     *
     * @param musicTbl
     * @return
     */
    List<MusicTbl> findMusicList(MusicTbl musicTbl);

    /**
     * 删除音乐
     *
     * @param musicTbl
     * @return
     */
    Integer deleteMusic(MusicTbl musicTbl);

    /**
     * 修改音乐表
     *
     * @param musicTbl
     * @return
     */
    Integer updateMusic(MusicTbl musicTbl);
}
